package com.scpii.api.common.auth.token;

import java.util.Date;

import com.scpii.api.domain.auth.UsersInfoDetails;

public interface AuthAccessToken {

	public static String REFRESH_TOKEN = "refreshToken";

	public static String ACCESS_TOKEN = "accessToken";

	public static String EXPIRES_IN = "expiresIn";

	public static String USER = "user";

	String getValue();

	UsersInfoDetails getUsersInfoDetails();

	AuthRefreshToken getRefreshToken();

	public boolean isExpired();

	public Date getExpiration();

	public int getExpiresIn();

}
